#include<cstdio>
#include<cstdlib>
int main(int argc,char **argv){
	if(argc==3){
		char *arcfile=argv[1];
		char *desfile=argv[2];
		FILE *fp1,*fp2;
	char ch;
	fp1=fopen("E:\\arcfile.txt","r");
	if(fp1==0){
		printf("file error\n");
		return -1;
	}
	fp2=fopen("E:\\desfile.txt","w");
	if(fp2==0){
		printf("file error\n");
		return -1;
	}
	while((ch=fgetc(fp1)!=EOF)){
		fputc(ch,fp2);
	//	putchar(ch);
	}
	  fclose(fp1);
    fclose(fp2);
	}
  
	return 0;
}
